//
//  SEGElevatorControlViewModel.h
//  SEGViewModel
//
//  Created by 乔杨 on 2020/6/16.
//

#import <Foundation/Foundation.h>
#import "SEGQueryGroupFloorByUserModel.h"

@interface SEGElevatorControlViewModel : NSObject

/// 查询梯控列表数据信号
@property (nonatomic, strong) RACSignal *listSignal;
/// 获取二维码梯控信号
@property (nonatomic, strong) RACCommand *qrCodeCommand;
/// 呼叫电梯的信号
@property (nonatomic, strong) RACCommand *callElevatorCommand;

/// 梯控列表数据
@property (nonatomic, copy) NSArray<SEGQueryGroupFloorByUserModel *> *dataArr;
/// 所有的楼层
@property (nonatomic, copy) NSArray *floorArray;
/// 二维码String
@property (nonatomic, copy) NSString *qrCodeStr;
/// 刷新二维码所需参数
@property (nonatomic, copy) NSString *codeElevId;
@property (nonatomic, copy) NSString *codeFloor;
@property (nonatomic, copy) NSString *codeDirectionFlag;

/// 生成用于搜索电梯设备的数据数组
- (void)seg_generatLevatorArrayForScanWithElevTag:(NSString *)elevTag;

@end

